package com.rzj.sys_lab_assistant.dao;

import com.rzj.sys_lab_assistant.entity.AssistantSubsidy;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Controller;

import java.util.List;

/**
 * @program: sys_lab_assistant
 * @description:
 * @author: 作者
 * @create: 2021-07-02 21:48
 */
@Mapper
public interface AssistantSubsidyMapper {

    List<AssistantSubsidy> listAssistantSubsidies(int aId);

    List<AssistantSubsidy> listAssistantSubsidiesById(String account);

    AssistantSubsidy getAssistantSubsidyById(int id);

    int saveAssistantSubsidy(AssistantSubsidy assistantSubsidy);

    int updateAssistantSubsidy(AssistantSubsidy assistantSubsidy);

    int deleteAssistantSubsidy(int id);

}
